package cn.xtits.design.controller;

import cn.xtits.xtf.common.utils.DateUtil;
import cn.xtits.xtf.common.web.AjaxResult;
import org.joda.time.DateTime;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @RequestMapping("/test")
    public AjaxResult test() {

        return new AjaxResult(DateTime.now().toString(DateUtil.LONG_PATTERN));
    }
}
